<meta name="sogou_site_verification" content="RuOD7ODyDT"/>
<head>
    <meta name="baidu-site-verification" content="code-DB4FNZlVJf" />
    <meta name="bytedance-verification-code" content="jPSTecSusDPECdP5fYgN" />
    <meta name="shenma-site-verification" content="918d13254bb579f4998e3b29ad0906d0_1633769060">
    <meta http-equiv="Content-Type" content="text/html;
charset=gb2312"/>
    <meta name="sogou_site_verification" content="RuOD7ODyDT"/>
    <link rel="shortcut icon" href="https://www.thinkwithu.com/favicon.ico"/>
    <script>
        var _hmt = _hmt || [];
        (function() {
          var hm = document.createElement("script");
          hm.src = "https://hm.baidu.com/hm.js?0848542c0e71b685b68768fcec8e99ef";
          var s = document.getElementsByTagName("script")[0];
          s.parentNode.insertBefore(hm, s);
        })();
    </script>
</head>

<link rel="stylesheet" href="/cn/css/public/public.css?v=1.0.0.3">
<script src="/cn/js/jquery-1.12.2.min.js"></script>
<script src="/cn/js/public/public.js"></script>
<script src="/cn/js/jquery.SuperSlide.2.1.1.js"></script>
<title><?php echo $this->context->title == false ? '【申友IELTS官网】IELTS考试培训班,IELTS网络课程,申友IELTS' : $this->context->title ?></title>
<meta name="keywords" content="<?php echo $this->context->keywords == false ? 'IELTS培训哪里好,IELTS培训,IELTS考试,IELTS,IELTS官网,IELTS备考资讯,IELTS考试报名,IELTS培训班,IELTS课程,IELTS模考,IELTS机经,IELTS培训机构,IELTS培训机构哪家好,北京申友IELTS,上海申友IELTS,武汉申友IELTS,成都申友IELTS,杭州申友IELTS,广州申友IELTS,申友IELTS' : $this->context->keywords ?>">
<meta name="description" content="<?php echo $this->context->description == false ? '申友IELTS官网提供IELTS课程培训,最新IELTS备考资料,IELTS考试报名时间,IELTS真题下载,IELTS网络课程、IELTS免费公开课等一系列服务，IELTS备考智能服务平台,欢迎来电咨询400-600-1123!' : $this->context->description ?>">
<!-- 左侧 -->
<!--<div class="w10 info-wrap animated">-->
<!--    <div class="text-wrap">-->
<!--        <img class="cancleLeft" src="/cn/images/public/delete1.png" alt="" onclick="closeLeft()">-->
<!--        <p class="info-tit">我的备考方案</p>-->
<!--        <div class="user-info clearfix">-->
<!--            <div>-->
<!--                <input class="info-int" id="username" type="text" placeholder="姓名">-->
<!--            </div>-->
<!--            <div>-->
<!--                <input class="info-int" id="tel" type="text" placeholder="电话">-->
<!--            </div>-->
<!--            <div>-->
<!--                <input class="info-int" id="basic" type="text" placeholder="英语基础">-->
<!--            </div>-->
<!--            <div>-->
<!--                <input class="info-int" id="score" type="text" placeholder="IELTS目标分">-->
<!--            </div>-->
<!--            <div>-->
<!--                <input class="info-int" id="time" type="text" placeholder="计划出分时间">-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="codeWrap">-->
<!--            <input type="text" name="code" class="info-int" id="telver" placeholder="验证码">-->
<!--            <button class="codeBtn" onclick="leftCode(this)">| 获取验证码</button>-->
<!--        </div>-->
<!--        <h1 onclick="lxfa()" class="info-btn tm">获取方案</h1>-->
<!--    </div>-->
<!--</div>-->
<script type="text/javascript">
    function lxfa() {
        var name = $("#username").val();
        var phone = $("#tel").val();
        var ver = $("#telver").val();
        var basic = $("#basic").val();
        var score = $("#score").val();
        var time = $("#time").val();
        if (name == '' || phone == '' || ver == '') {
            alert("请输入姓名/电话/验证码");
        } else {
            $.post('/cn/api/smart', {
                name: name,
                phone: phone,
                basic: basic,
                score: score,
                time: time,
                code: ver
            }, function(re) {
                alert(re.message);
                $('.text-wrap').find('.info-int').val('');
            }, "json")
        }
    }

    function leftCode(o) {
        var countdown = 60;
        var str = 1;
        var phone = document.getElementById('tel').value;
        $.post('/cn/api/phone-code', {
            type: 4,
            phoneNum: phone
        }, function(re) {
            if (re.code == 1) {
                alert(re.message);
                $(o).attr('disabled', true);
                $(o).html(countdown + '秒后重发');
                var timer = setInterval(function() {
                    $(o).html(countdown + "秒后重发");
                    countdown--;
                    if (countdown < 0) {
                        clearInterval(timer);
                        $(o).removeAttr("disabled");
                        $(o).html('获取验证码');
                        if (str == 1) {
                            //1表示手机短信验证
                        }

                    }
                }, 1000);
            } else {
                alert(re.message);
            }

        }, "json");

    }
</script>
<body style="padding-top:120px">

<!-- nav: nav.php -->

<?php

use app\commands\front\NavWidget; ?>
<?php NavWidget::begin(); ?>
<?php NavWidget::end(); ?>
<?php
$controller = Yii::$app->controller->id;
use app\commands\front\PartWidget;
if ($controller != 'course') {
    PartWidget::begin();
    PartWidget::end();
} ?>
<!-- cn cn.php-->
<?= $content ?>

<?php
use app\commands\front\FootWidget; ?>
<?php FootWidget::begin(); ?>
<?php FootWidget::end(); ?>
</body>
